package model

import (
	"time"
)

type User struct {
	Id         int       `xorm:"not null pk autoincr INT(11)"`
	Avatar     string    `xorm:"VARCHAR(255)"`
	Account    string    `xorm:"VARCHAR(45)"`
	Password   string    `xorm:"VARCHAR(45)"`
	Salt       string    `xorm:"VARCHAR(45)"`
	Name       string    `xorm:"VARCHAR(45)"`
	Birthday   time.Time `xorm:"DATETIME"`
	Sex        int       `xorm:"INT(11)"`
	Email      string    `xorm:"VARCHAR(45)"`
	Phone      string    `xorm:"VARCHAR(45)"`
	Roleid     string    `xorm:"VARCHAR(255)"`
	Deptid     int       `xorm:"INT(11)"`
	Status     int       `xorm:"INT(11)"`
	Createtime time.Time `xorm:"DATETIME"`
	Version    int       `xorm:"INT(11)"`
}
